GtkListBox: Style selectable rows differently
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Jul 2014 03:13:43 +0000 (23:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Jul 2014 03:56:47 +0000 (23:56 -0400)
commit7932370ef85c22142ba1e0073fd276fb65326eb2
tree632f19f4c09a3003ed2b3b1d6dd8edc19120f1b3
parent71f589c0b0c0f824f2c1101fb4142e23e794bbf9
GtkListBox: Style selectable rows differently

We now apply the .button style class to rows that are either
activatable or selectable. Selectable rows only get the .button
if the listbox allows selection. This implies that we need to
update row styles when the selection mode changes, or when the
row gets added to a listbox.
gtk/gtklistbox.c